package com.service.dao.model;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("hm_member_mining_order")
public class MemberMiningOrder implements Serializable {

	private static final long serialVersionUID = 1L;

	/**
	 *
	 */
	@TableId
	private Integer id;

	/**
	 * 用户id
	 */
	private Integer memberId;

	/**
	 * 冻结币种id
	 */
	private Integer coinsId;

	/**
	 * 冻结币种名称
	 */
	private String coinsName;

	/**
	 * 冻结金额
	 */
	private BigDecimal frostNum;

	/**
	 * 冻结总天数
	 */
	private Integer lockDay;

	/**
	 * 开始时间
	 */
	private Date startTime;

	/**
	 * 累计释放
	 */
	private BigDecimal totalRelease;

	/**
	 * 已释放天数
	 */
	private Integer releaseDay;

	/**
	 * 是否释放完成 0-释放中 1-已完成
	 */
	private Integer isFinish;

	private Date createTime;

	private Date updateTime;

	private Integer orderId;
}
